#include <stdio.h>
#include <time.h>

/**
 * 题目：时间函数举例1
*/
int main(int argc, char const *argv[])
{
    time_t raw_time;
    struct tm *time_info;
    
    time(&raw_time);
    time_info = localtime(&raw_time);
    printf("当前本地事件为: %s", asctime(time_info));
    
    return 0;
}